package edu.nf.ch10.service;

import edu.nf.ch10.mapper.UserMapper;
import org.springframework.stereotype.Service;

/**
 * @author wangl
 * @date 2025/4/30
 */
@Service("userService")
public class UserServiceImpl implements UserService {

    private UserMapper userMapper;

    public UserServiceImpl(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    @Override
    public void add() {
        userMapper.save();
    }
}